                    <?php
                    if(!empty($_SESSION['login']) && isset($_SESSION['login'])){  
                        $login = $_SESSION['login'];
                        $prenom = $_SESSION['prenom'];
                        $nom = $_SESSION['nom'];
                        $avatar = $_SESSION['avatar'];
                        $dateNaissance = $_SESSION['dateNaissance'];
                    }
                    ?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Zone Airsoft</title>
    <meta name="description" content="Site communautaire sur l'airsoft">
    <meta name="author" content="Fabien Labrousse, Alvyn Silou">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script language="javascript">
    function valider() {
        form=document.getElementById("inscription");
            if((form.getElementById("pseudo").value=="") ||(form.getElementById("password").value=="") || (form.getElementById("email")=="")) {
              
            docuument.getElementById("error").innerHTML="Veuillez bien saisir les champs nécessaires" ;
                
            }else {
                if(form.getElementById("pseudo").value < 6) {
                    document.getElementById("error")="login trop court" ;
                }
                else {
                    form.submit() ;
                }           
             }
     </script>

    <!-- Le styles -->
    <link href="./Components/CSS/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
      }
    </style>
    
    

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="./Components/Images/favicon.ico">
    <link rel="apple-touch-icon" href="./Components/Images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="57x57" href="./Components/Images/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="72x72" href="./Components/Images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="./Components/Images/apple-touch-icon-114x114.png">
    <!-- Le fu -->
  </head>

  <body>
	
	<!-- Ici faire apparaitre le menu que si l'utilisateur est connecté -->
        <div class="topbar">
            <div class="fill">
                <div class="container">
                <a class="brand" href="index.php">Zone airsoft</a>
                <ul class="nav">
                    <li><a href="#profil">Profil</a></li>
                    <li><a>Messagerie</a></li>
                    <li><a>Chat (Pas encore !)</a></li>
                </ul>
                <?php if(!empty($_SESSION['login']) && isset($_SESSION['login'])){
                    echo('<ul class="nav secondary-nav">
                        <li class="dropdown" data-dropdown="dropdown">
                        <a href="#" class="dropdown-toggle">'.$prenom.' '.$nom.'</a>
                        <ul class="dropdown-menu">
                            <li><a href="index.php?choix=deconnection">Deconnection</a></li>
                        </ul>
                        </li>
                </ul>');
                 }?>
                </div>
            </div>
        </div>
        
	<div class="container">